<template>
  <el-badge class="my-badge" :is-dot="showDot?true:false">
    <!-- <el-button class="share-button" icon="el-icon-message" @click="toNewsCenter"></el-button> -->
    <a class="ui-btn btn-link">
      <i class="el-icon-message"></i>
    </a>
  </el-badge>
</template>

<script>
export default {
  name: "ucAutoComplete",
  data() {
    return {
      state: "",
      hasLogin: false,
      showDot: false,
      userInfo: {
        avatar: ""
      }
    };
  },
  created() {},
  mounted() {},
  methods: {
    toNewsCenter() {},
    toRegister() {},
    toProfile() {}
  }
};
</script>

<style lang="scss" >
@import "~/scss/themes/index.scss";

.my-badge {
  .ui-btn {
    color: #ccc;
    padding: 0 10px;
    white-space: nowrap;
    cursor: pointer;
    & > i {
      font-size: 24px;
      color: #67686b;
    }
    &:hover {
      color: $brand-primary;
    }
  }
}
</style>
